package com.cndw.kungfu.vo;

import com.cndw.kungfu.domain.Player;
import com.cndw.kungfu.model.Context;

public class UnionPetAkVO {
	/**
	 * 编号
	 */
	private int orderId;
	/**
	 * 角色id
	 */
	private long playerId;
	/**
	 * 等级
	 */
	private int level;
	/**
	 * 玩家角色
	 */
	private String playerName;
	/**
	 * 职业id
	 */
	private int vocationId;
	/**
	 * 击杀次数
	 */
	private int akNum;
	/**
	 * 伤害血量
	 */
	private int damNum;
	public UnionPetAkVO(long playerId,int orderId,int akNum,int damNum){
		Player player = Context.getPlayerServer().getByPlayerId(playerId);
		this.orderId = orderId;
		this.akNum = akNum;
		this.damNum = damNum;
		
		this.playerId = playerId;
		level = player.getLevel();
		playerName = player.getPlayerName();
		vocationId = player.getVocationId();
		
	}
	public int getOrderId() {
		return orderId;
	}
	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}
	public long getPlayerId() {
		return playerId;
	}
	public void setPlayerId(long playerId) {
		this.playerId = playerId;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	public String getPlayerName() {
		return playerName;
	}
	public void setPlayerName(String playerName) {
		this.playerName = playerName;
	}
	public int getVocationId() {
		return vocationId;
	}
	public void setVocationId(int vocationId) {
		this.vocationId = vocationId;
	}
	public int getAkNum() {
		return akNum;
	}
	public void setAkNum(int akNum) {
		this.akNum = akNum;
	}
	public int getDamNum() {
		return damNum;
	}
	public void setDamNum(int damNum) {
		this.damNum = damNum;
	}
}
